var itemReader = new Ext.data.JsonReader({}, [
      {name: 'id' ,mapping:'id'},       
//      {name: 'person.id', convert : function(v,rec){return v+"_"+rec.person.name;}},
      {name: 'person.id', mapping: 'person.id'},
      {name: 'person.name', mapping: 'person.name'},
      {name: 'hospital.id', mapping: 'hospital.id'},
      {name: 'hospital.name', mapping: 'hospital.name'},
      {name: 'product.id', mapping: 'product.id'},
      {name: 'product.name', mapping: 'product.name'},
      {name: 'sellDate', mapping: 'sellDate'},
      {name: 'backDate', mapping: 'backDate'},
      {name: 'outDay', mapping: 'outDay'},
      {name: 'unit.id', mapping: 'unit.id'},
      {name: 'unit.name', mapping: 'unit.name'},
      {name: 'count', mapping: 'count'},
      {name: 'sellPrice', mapping: 'sellPrice'},
      {name: 'sellSum', mapping: 'sellSum'},
      {name: 'buyPrice', mapping: 'buyPrice'},
      {name: "shunjia",mapping: 'shunjia',convert:function(val){return val * 100;}},
      {name: "proportion",manpping:'proportion',convert:function(val){return val * 100;}},
      {name: 'sum', mapping: 'sum'},
      {name: 'businessman', mapping: 'businessman'},
      {name: 'techSupport', mapping: 'techSupport'},
      {name: 'manager', mapping: 'manager'},
      {name: 'team', mapping: 'team'}
]);

var bonusReader = new Ext.data.JsonReader({}, [
      {name: 'person.name' ,mapping:'person.name'},                                        
      {name: 'product.type', mapping: 'product.type'},
      {name: 'sellSum', mapping: 'sellSum'},
      {name: 'backSum', mapping: 'backSum'},
      {name: 'sellbacksum', mapping: 'sellbacksum'},
      {name: 'sellbacksumhalf', mapping: 'sellbacksumhalf'},
      {name: 'sellAword', mapping: 'sellAword'},
      {name: 'backAword', mapping: 'backAword'},
      {name: 'sellbackAword', mapping: 'sellbackAword'},
      {name: 'sellbackAwordhalf', mapping: 'sellbackAwordhalf'},
      {name: 'resutlBonus', mapping: 'resutlBonus'},
      {name: 'base', mapping: 'base'}
]);